<%@page import="RssEasy.Core.DateTimeExtend"%>
<%@page import="Model.consultation.consultationList"%>
<%@page import="RssEasy.Core.CookieHelper"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    CookieHelper cookie = new CookieHelper(request, response);
    consultationList ct = new consultationList(pageContext);
    consultationList wt = new consultationList(pageContext);
    wt.request();
    int ic=Integer.parseInt(wt.get("ic"));
    String url;
    for(int i=0;i<ic;i++){
     url= wt.get("certimg"+i+"");
     ct.keyvalue("myid",cookie.Get("myid")).keyvalue("certimg",url).keyvalue("uptimes",DateTimeExtend.timestamp());
     ct.append().submit();
    }
    out.print("1");
%>
